﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace cludg.Services.Security
{
    using Domain.Content;
    using Domain.Users;
    using Permissions;

    public interface IAuthorization
    {
        IEnumerable<Permission> Permissions { get; }
        
        bool HasRights(User user, string permissionName, IContent content);
    }
}
